package com.heima.feign;

import com.heima.model.media.dtos.WmUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-wemedia")
public interface WemediaFeignClient {

    @PostMapping("/api/v1/wmuser/save")
    public Integer save(@RequestBody WmUserDto dto);

}
